package com.ljf.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ljf.dto.DetailStorageSituationDto;
import com.ljf.dto.StorageSituationPageDto;
import com.ljf.entity.GoodsStore;

import java.util.Map;

public interface GoodsStoreService extends IService<GoodsStore> {
    Long storeUsed(Long id);

    Long getRedisueNumByGoodsId(Long id);

    void goodsInStore(Long goodsId, Long goodsNum, Long storeId);

    Map<String, Object> pageQuery(StorageSituationPageDto dto);

    Map<String, Object> queryStoreGoodsByStoreId(DetailStorageSituationDto dto);
}
